package com.han.responsibility;

/**
 * @ClassName GroupLeader
 * @Description 小组长类（具体的处理者）
 * @Author duoduo Han
 * @Date 2024/6/14 10:36
 */
public class GroupLeader extends Handler{
    public GroupLeader() {
        super(0, Handler.NUM_ONE);
    }


    @Override
    protected void handleLeave(LeaveRequest leave) {
        System.out.println(leave.getName() + "请假" + leave.getDay() + "天,理由是:" + leave.getContent());
        System.out.println("小组长审批:同意");
    }
}
